package com.pangyangyang.elasticsearch.plugin.collector;

import com.pangyangyang.elasticsearch.plugin.dispatch.EventDispatcher;
import org.elasticsearch.common.settings.Settings;

import java.util.Map;

/**
 * 监听（拉去）消息转换成通用的DataModifyEvent
 * Created by yangwang on 2015/1/15.
 */
public interface EventCollector {


    void start();

    void stop();

    String getResourceDigest();
}
